projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0d36d1
)
tests: Fix testlogout
author
Alexander Mikhaylenko
<alexm@gnome.org>
Mon, 11 May 2020 13:54:53 +0000
(18:54 +0500)
committer
Alexander Mikhaylenko
<alexm@gnome.org>
Mon, 11 May 2020 13:54:53 +0000
(18:54 +0500)
Stop using GtkApplication::quit signal.
tests/testlogout.c
patch
|
blob
|
history
diff --git
a/tests/testlogout.c
b/tests/testlogout.c
index 2d9cd215bd4fec2e6f04547f6744bace26284dd6..1ea27335be96249fdddbe153d088c77f9142387f 100644
(file)
--- a/
tests/testlogout.c
+++ b/
tests/testlogout.c
@@
-132,14
+132,6
@@
activate (GtkApplication *app,
gtk_application_add_window (app, GTK_WINDOW (win));
}
-static void
-quit (GtkApplication *app,
- gpointer data)
-{
- g_print ("Received quit\n");
- gtk_widget_destroy (win);
-}
-
int
main (int argc, char *argv[])
{
@@
-150,8
+142,6
@@
main (int argc, char *argv[])
g_signal_connect (app, "activate",
G_CALLBACK (activate), NULL);
- g_signal_connect (app, "quit",
- G_CALLBACK (quit), NULL);
g_application_run (G_APPLICATION (app), argc, argv);